<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j">
<f:view>
	<f:loadBundle basename="ApplicationResources" var="msg" />
	<div id="page-ctn">

	<div id="QQBody" align ="center">
		<h:form id="loginForm"  prependId="false">
			
			<h:panelGrid columns="3">
	
				<h:outputText value="#{msg.username}" /> <h:outputText value="#{msg.colon}" />
				<h:inputText id="j_username" required="true" />
	
	            <h:outputText value="#{msg.password}" /> <h:outputText value="#{msg.colon}" />
				<h:inputSecret id="j_password" required="true" />
				
	            <h:outputText value="Remember me" />
				<h:selectBooleanCheckbox id="_spring_security_remember_me" />
			</h:panelGrid>
	
			<h:panelGroup>
				<h:commandButton type="submit" id="login"
					action="#{loginBean.loginAction}" value="#{msg.loginBtn}" />
			</h:panelGroup>
		</h:form>
		</div>
		</div>
</f:view>
</html>